package util

import (
	"jiance_server/config"

	"github.com/cdongyang/library/utils"
)

func EncodePwd(pwd string) string {
	return utils.MD5(utils.MD5(config.GetConfig().Salt, pwd), config.GetConfig().Salt)
}
